﻿using System.Windows;
using VideoTools.Commands;
namespace VideoTools
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : System.Windows.Application
    {
        protected override void OnStartup(StartupEventArgs e)
        {
            AppManager.Instance.Initialize();
            base.OnStartup(e);
        }
        
        
        protected override void OnExit(ExitEventArgs e)
        {
            MainWindowCommands.Instance.Dispose();
            AppConfig.Instance.Dispose();
            AppManager.Instance.Dispose();

            base.OnExit(e);
        }
    }
}
